const { defineConfig } = require('@vue/cli-service')
const path = require('path')
// eslint-disable-next-line node/no-path-concat
const lessPath = path.resolve(__dirname + '/src/styles/cover.less')
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 'cell-font-size': '24px'
            hack: `true;@import "${lessPath}";`
          }
        }
      }
    }
  }
})
